package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 证件借还对象 document_borrow_return
 * 
 * @author ruoyi
 * @date 2023-12-22
 */
public class DocumentBorrowReturn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String employeeName;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 职务 */
    @Excel(name = "职务")
    private String position;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String documentType;

    /** 证件编号 */
    @Excel(name = "证件编号")
    private String documentNumber;

    /** 证件有效期 */
    @Excel(name = "证件有效期")
    private String documentValidUntil;

    /** 证件借出日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证件借出日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date borrowDate;

    /** 证件归还日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证件归还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnDate;

    /** 借用人联系电话 */
    @Excel(name = "借用人联系电话")
    private String phone;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setDocumentType(String documentType) 
    {
        this.documentType = documentType;
    }

    public String getDocumentType() 
    {
        return documentType;
    }
    public void setDocumentNumber(String documentNumber) 
    {
        this.documentNumber = documentNumber;
    }

    public String getDocumentNumber() 
    {
        return documentNumber;
    }
    public void setDocumentValidUntil(String documentValidUntil) 
    {
        this.documentValidUntil = documentValidUntil;
    }

    public String getDocumentValidUntil() 
    {
        return documentValidUntil;
    }
    public void setBorrowDate(Date borrowDate) 
    {
        this.borrowDate = borrowDate;
    }

    public Date getBorrowDate() 
    {
        return borrowDate;
    }
    public void setReturnDate(Date returnDate) 
    {
        this.returnDate = returnDate;
    }

    public Date getReturnDate() 
    {
        return returnDate;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeName", getEmployeeName())
            .append("department", getDepartment())
            .append("position", getPosition())
            .append("documentType", getDocumentType())
            .append("documentNumber", getDocumentNumber())
            .append("documentValidUntil", getDocumentValidUntil())
            .append("borrowDate", getBorrowDate())
            .append("returnDate", getReturnDate())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("remark", getRemark())
            .toString();
    }
}
